﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Web;
using System.Web.UI;
using System.Web.UI.WebControls;

namespace SAAC.Colegiado
{
	public partial class HomeColegiado : System.Web.UI.Page
    {
        protected void Page_Load(object sender, EventArgs e)
        {
			gerenciaVisibilidadeComponentesMaster();
        }

		private void gerenciaVisibilidadeComponentesMaster()
		{
			Menu menuAluno = (Menu)Master.FindControl("MenuAluno");
			menuAluno.Visible = false;
			Menu menuFuncionario = (Menu)Master.FindControl("MenuFuncionario");
			menuFuncionario.Visible = false;
			Menu menuProfessor = (Menu)Master.FindControl("MenuProfessor");
			menuProfessor.Visible = false;
			Menu menuColegiado = (Menu)Master.FindControl("MenuColegiado");
			menuProfessor.Visible = true;

			LinkButton link = (LinkButton)Master.FindControl("lkbCadastro");
			link.Visible = false;
		}
    }
}